<h2>Nuevo recibo de salario</h2>
<% form_for @recibo, :html => {:class => "tabular"},  :builder => UniformBuilder do |f| %>
  <div class="box">
    <%= f.collection_select :usuario_id,Usuario.activos,:id,:nombre,{},:class=>:required %>
    <p>
      <label>Mes</label>
      <%= select_month(Date.today, :field_name=>:mes) %>
    </p><p>
      <label>A&ntilde;o</label>
      <%= select_year(Date.today, :field_name=>:anho)%>
    </p>

    <%= f.text_field :valor_bruto,:class=>:required %>
    <%= f.text_field :valor_neto,:class=>:required %>
    <%= f.text_area :observacion,:rows=>5,:class=>:required %>
  </div>
  <%= f.submit "Guardar" %>
<% end %>
<% content_for :acciones do -%> 
  <%= boton 'Volver', recibos_path, :imagen => "volver" %><br/>
<% end -%>

